package com.bjpowernode.service.impl;

import com.bjpowernode.mapper.TProductMapper;
import com.bjpowernode.service.ProductService;
import lombok.RequiredArgsConstructor;
import org.apache.commons.math3.stat.descriptive.summary.Product;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@RequiredArgsConstructor
public class ProductServiceImpl implements ProductService {

    private final TProductMapper tProductMapper;

    @Override
    public List<Product> getProducts() {
        return tProductMapper.selectProducts();
    }
}
